Flow-oriented incentive spirometry